package com.zzyl.service;

import com.zzyl.dto.ResourceDto;

import com.zzyl.vo.MenuVo;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    List<ResourceVo> list(ResourceDto resourceDto);

    TreeVo resourceTreeVo(ResourceDto resourceDto);

    void createResource(ResourceDto resourceDto);

    Boolean  enableResource(ResourceDto resourceDto);

    void update(ResourceDto resourceDto);

    List<MenuVo> menus();
}
